<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/lib/function/init.func.php';

/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */

/**
 * Smarty id_encrypt modifier plugin
 * author: allan@tudou.com 
 * date: 20060627
 * Type:     modifier<br>
 * Name:     id_encrypt<br>
 * Purpose:  
 */
function smarty_modifier_id_encrypt($string)
{
    return id_crypt($string, "ENCRYPT");
}

/* vim: set expandtab: */

?>
